﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="sensor55_list.aspx.cs" Inherits="HYSoft.Web.sensor55_list" %>

<%@ Register Src="~/Controls/menu.ascx" TagName="Menus" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="bootstrap/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
        .main
        {
            margin-left: auto;
            margin-right: auto;
            width: 1140px;
            height: auto;
            background-color: White;
        }
        .part_wss
        {
            width: 789px;
            margin-left: 180px;
            text-align: left;
        }
        .part_ws_bt
        {
            height: 34px;
            line-height: 34px;
            background: url(../images/biaotilan.png) no-repeat;
            font-family: "微软雅黑";
            font-size: 14px;
            padding-left: 22px;
            color: #fff;
            letter-spacing: 1px;
            border-top: 1px solid #d1d1d1;
            border-right: 1px solid #d1d1d1;
            border-left: 1px solid #d1d1d1;
        }
        .part_7
        {
            width: 787px;
            margin: 0px auto 0px auto;
        }
        .part_7_left
        {
            width: 400px;
            height: auto;
            float: left;
        }
        .part_7_left td
        {
            height: 25px;
        }
        .part2_1
        {
            width: 95px;
            height: 22px;
            background: url(../images/2.jpg) no-repeat;
            font-weight: bold;
            text-align: center;
            line-height: 22px;
            color: #ffff00;
            margin: auto;
            margin-top: 25px;
        }
        .part_7_right
        {
            margin-left: 50%;
            height: 280px;
            background: url(../images/1.jpg) no-repeat;
            padding-left: 10px;
            padding-top: 20px;
            margin-top: 30px;
        }
        .part_7_right3
        {
            width: 340px;
            height: 280px;
            background: url(../images/1.jpg) no-repeat;
            padding-left: 10px;
            padding-top: 8px;
            float: left;
            margin-top: 10px;
        }
        .part_7_right2
        {
            width: 230px;
            height: 195px;
            background: url(../images/1_2.jpg) no-repeat;
            padding-left: 5px;
            padding-top: 5px;
            float: left;
        }
        .part_7_ws
        {
            width: 760px;
            height: 305px;
            margin: auto;
            margin-top: 20px;
        }
        .part_7_w1
        {
            width: 92%;
            height: 20px;
            background: url(../images/p_3.jpg) left no-repeat;
            padding-left: 20px;
            line-height: 20px;
            margin: auto;
            float: left;
            margin-left: 25px;
        }
        .part_7_w2
        {
            width: 92%;
            margin: auto;
            margin-top: 70px;
        }
        .part_7_w2 li
        {
            width: 228px;
            margin-right: 13px;
            float: left;
        }
        .w_4
        {
            width: 95px;
            height: 22px;
            margin: auto;
            background: url(../images/2.jpg) no-repeat;
            font-weight: bold;
            color: #ffff00;
            text-align: center;
            line-height: 22px;
            margin-left: 330px;
        }
        .part_a1
        {
            width: 787px;
            border-left: 1px solid #d1d1d1;
            border-right: 1px solid #d1d1d1;
            background: url(../images/w_p5.jpg) bottom repeat-x;
            margin-top: -30px;
        }
        .table1
        {
            border-left: 1px solid #bbb;
            border-top: 1px solid #bbb;
            margin: 0px auto 0px auto;
        }
        .table1 td
        {
            height: 25px;
            border-right: 1px solid #bbb;
            border-bottom: 1px solid #bbb;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolderMenu" runat="server">
    <uc3:Menus ID="menus" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPlaceHolderMain" runat="server">
    <div class="main">
        <div>
            <img src="Images/top.PNG" />
        </div>
        <div class="part_wss">
            <div class="part_ws_bt">
                位移计基本状态</div>
            <div class="part_a1">
                <div class="part_7">
                    <div class="part_7_left">
                        <asp:Repeater ID="Repeater1" runat="server">
                            <HeaderTemplate>
                                <table>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        传感器名称：基站
                                    </td>
                                </tr>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        检测员：<%#Eval("name") %></td>
                                </tr>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        MAC地址：<%#Eval("mac") %></td>
                                </tr>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        手机号码：<%#Eval("simno") %></td>
                                </tr>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        安装地址：<%#Eval("addr") %></td>
                                </tr>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        所属监测点：<%#data_addrname(Eval("areano").ToString())%></td>
                                </tr>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        供电模式：<%#Eval("gongdian") %></td>
                                </tr>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        基站坡面编号：<%#Eval("charvalue1")%></td>
                                </tr>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        有无有雨量计：<%#IfYlj(Eval("value0"))%></td>
                                </tr>
                                <tr>
                                    <td width="19">
                                        <img src="images/p_3.jpg" width="12" height="12" />
                                    </td>
                                    <td style="text-align: left;">
                                        基站应用类型：<%#BpLx(Eval("value1"))%></td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <div class="w_4" style="text-align: center;">
                                            <a href="edit55.aspx?mac=<%#Eval("mac")%>" style="color: #ffff00;">编辑传感器</a>
                                        </div>
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                                </table>
                            </FooterTemplate>
                        </asp:Repeater>
                    </div>
                    <div class="part_7_right">
                        <img src="<%=tux %>" width="320" height="240" /></div>
                    <div class="clear">
                    </div>
                </div>
                <div class="part_7_w1">
                    数据记录：<a style="color: red;">(初始显示为每个边坡监测点的最新记录)</a></div>
                <div class="part_7_w2">
                    <div style="text-align: center;">
                        <input id="txtfrom" class="Wdate" type="text" runat="server" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'1997-01-01 00:00:00',maxDate:'2108-01-10 23:59:59'})"
                            value="2013-10-12 11:00:00" />
                        —
                        <input id="txtto" class="Wdate" type="text" runat="server" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'1997-01-01 00:00:00',maxDate:'2108-01-10 23:59:59'})"
                            value="2013-10-12 11:00:00" />
                        <asp:Button ID="Button1" runat="server" Text="刷 新" OnClick="Button1_Click" />
                    </div>
                    <div style="width: 100%;">
                        <asp:Chart ID="Chart2" runat="server" Width="720px" Height="500px">
                            <Series>
                                <asp:Series Name="Series1" Color="#FF2D93F7">
                                </asp:Series>
                            </Series>
                            <ChartAreas>
                                <asp:ChartArea Name="ChartArea1">
                                </asp:ChartArea>
                            </ChartAreas>
                            <Titles>
                                <asp:Title Name="Title2" Font="Trebuchet MS, 14.25pt, style=Bold" Text="基站雨量近况">
                                </asp:Title>
                            </Titles>
                        </asp:Chart>
                        <table class="table1" cellpadding="0px" cellspacing="0px">
                            <asp:Repeater ID="Repeater4" runat="server">
                                <HeaderTemplate>
                                    <tr>
                                        <td colspan="6">
                                            <h4 style="text-align: center; vertical-align: middle; padding: 10px 0 0 0;">
                                                基站地表变形测点数据</h4>
                                        </td>
                                    </tr>
                                    <tr style="background: url(images/ws3.jpg) repeat-x; font-weight: bold;">
                                        <td>
                                            &nbsp;测点编号
                                        </td>
                                        <td>
                                            &nbsp;传感器编号
                                        </td>
                                        <td>
                                            &nbsp;边坡位移(单位：mm)
                                        </td>
                                        <td>
                                            &nbsp;边坡浅层倾斜角（倾向）
                                        </td>
                                        <td>
                                            &nbsp;边坡浅层倾斜角（走向）
                                        </td>
                                        <td>
                                            &nbsp;测量日期
                                        </td>
                                    </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr onmouseover="this.style.backgroundColor='#66CCFF';" onmouseout="this.style.backgroundColor='#FFFFFF';">
                                        <td>
                                            &nbsp;<a style="color: blue;" href="sensor55detail_list.aspx?bh=<%#Eval("cdbh") %>"><strong><%#Eval("cdbh") %></strong></a></td>
                                        <td>
                                            &nbsp;<a><%#Eval("cdcgqbh") %></a></td>
                                        <td>
                                            &nbsp;<a><%#Eval("ljbpwy") %></a></td>
                                        <td>
                                            &nbsp;<a><%#Clc(Eval("ljbpqcqxj_qx")) %>°</a>
                                        </td>
                                        <td>
                                            &nbsp;<a><%#Clc(Eval("ljbpqcqxj_zx")) %>°</a>
                                        </td>
                                        <td>
                                            &nbsp;<a><%#Eval("cldate") %></a></td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </div>
                </div>
            </div>
            <div style="width: 100%; margin: 0px auto 0px auto; height: 80px;">
                <img src="images/p_2.jpg" style="width: 100%;" />
            </div>
        </div>
    </div>
</asp:Content>
